#!/bin/bash

XATTR_VALUE=`/usr/lib64/nagios/plugins/SiteJobMon/query_jobstatus.sh`
if [ $? -ne 0 ]; then
        /bin/echo "query_jobstatus.sh all site result $XATTR_VALUE"
        exit $CRITICAL
else
	/bin/echo "query_jobstatus.sh all site result OK"
	exit 0
fi

